package com.xnew.bean.group;

import javax.xml.bind.annotation.*;
import java.util.List;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(propOrder = { "oldUserId", "userOrgs", "operationType" })
public class UserOrg {

	// 用户原ID
	@XmlElement(name = "oldUserId")
	private String oldUserId;

	// 用户机构关系列表
	@XmlElementWrapper(name = "userOrgs")
	@XmlElement(name = "userOrg")
	private List<UserOrgs> userOrgs;

	// 操作类型
	@XmlElement(name = "operationType")
	private String operationType;

	public String getOperationType() {
		return operationType;
	}

	public void setOperationType(String operationType) {
		this.operationType = operationType;
	}

	public String getOldUserId() {
		return oldUserId;
	}

	public void setOldUserId(String oldUserId) {
		this.oldUserId = oldUserId;
	}

	public List<UserOrgs> getUserOrgs() {
		return userOrgs;
	}

	public void setUserOrgs(List<UserOrgs> userOrgs) {
		this.userOrgs = userOrgs;
	}
}
